/*
	Theme Name:   Jannah Child
	Theme URI:    http://jannah.tielabs.com/
	Description:  Jannh Child Theme
	Author:       TieLabs
	Author URI:   https://tielabs.com
	Template:     jannah
	Version:      1.0.2
	License:      license purchased
	License URI:  http://themeforest.net/licenses/regular_extended
	Tags:         Tags: two-columns, buddypress, left-sidebar, right-sidebar, custom-menu, editor-style, featured-images, full-width-template, microformats, rtl-language-support, sticky-post, threaded-comments, translation-ready
	Text Domain:  jannah-child
*/


/* write custom css after this line */

.meta-author {
    font-family: system-ui !important;
}

.single-caption-text {
    font-family: system-ui !important;
}

/* Styling for blue box at the end of story */
.entry-content p:nth-last-of-type(2) {
    display: contents;
    margin-top: 0;
}

span.blue_square {
    width: 20px;
    height: 20px;
    background-color: #22b2d7;
    display: inline-block;
    border-radius: 2px;
    vertical-align: middle;
}

/* Quotes re-styling for mobile view */
@media only screen and (max-width: 767px) {
	.entry .wp-block-pullquote {
		padding: 0px 5px;
	}

	blockquote {
		padding: 20px 20px;
	}

	blockquote p {
		text-align: left;
	}

	.wp-block-pullquote cite {
		text-align: right;
		font-size: 0.5em !important;
	}
}

/* Newly introduced Mailchimp Signup form */
.newsletter_div #mc_embed_signup {
    padding: 20px;
    background: url('https://humanglemedia.com/wp-content/uploads/2024/02/image-8.jpeg') center center fixed;
    background-size: cover;
    position: relative; /* Make sure it's relative for absolute positioning */
    overflow: hidden; /* Ensure child elements don't overflow */
    font: 14px Helvetica,Arial,sans-serif;
    /* max-width: 600px; */
    margin: auto;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    text-align: left;
}

/* Overlay */
.newsletter_div #mc_embed_signup::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Adjust transparency here */
}

.newsletter_div .mc-field-group {
    margin-top: 10px;
    margin-bottom: 10px;
}

/* Adjust the input and button styles */
.newsletter_div #mc_embed_signup input {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    margin-top: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    color: white; /* Set text color to white for better visibility */
}

.newsletter_div #mc_embed_signup button {
    background-color: #4CAF50;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.newsletter_div .asterisk {
    color: red;
}

.newsletter_div input#mc-embedded-subscribe {
    font-size: 1.2em;
    letter-spacing: 0.1em;
    padding-top: 10px;
    padding-bottom: 10px;
    height: 55px;
}
.newsletter_div form#mc-embedded-subscribe-form {
    z-index: 10;
    position: relative;
}

.newsletter_div div#mc_embed_signup_scroll, .newsletter_div div#mc_embed_signup_scroll p {
    color: white;
}

/* Bring the table of content to mobile */
@media only screen and (max-width: 767px) {
	#story-index.cont-cust-fixed {
	    opacity: 0.5;
	    position: fixed !important;
	    top: 40vh;
	    transition: opacity 0.5s ease;
	}
	
	#story-index.cont-cust-fixed:hover {
	    opacity: 1;
	}
}

/* Removing right margin styling from newsletter pop up */
div#seltzer-FieldsElement--wrapper--Um1CzU4SB1U841uXu0Zg, div#seltzer-TextElement--wrapper--Sd9CNcvksRWneLuogVjt {
    margin-right: 0 !important;
}